package com.qf.pojo;


public class TbOrderdetail implements CheckNull {

  private long id;
  private String oid;
  private long pid;
  private long num;
  private long money;

  private TbGoods goods;

  public TbGoods getGoods() {
    return goods;
  }

  public void setGoods(TbGoods goods) {
    this.goods = goods;
  }

  public long getId() {
    return id;
  }

  public void setId(long id) {
    this.id = id;
  }


  public String getOid() {
    return oid;
  }

  public void setOid(String oid) {
    this.oid = oid;
  }


  public long getPid() {
    return pid;
  }

  public void setPid(long pid) {
    this.pid = pid;
  }


  public long getNum() {
    return num;
  }

  public void setNum(long num) {
    this.num = num;
  }


  public long getMoney() {
    return money;
  }

  public void setMoney(long money) {
    this.money = money;
  }

  @Override
  public String toString() {
    return "TbOrderdetail{" +
            "id=" + id +
            ", oid='" + oid + '\'' +
            ", pid=" + pid +
            ", num=" + num +
            ", money=" + money +
            ", goods=" + goods +
            '}';
  }

  @Override
  public boolean isEmpty() {
    return false;
  }
}
